PROJECT(Rasterizer)

include_directories(
    "${CMAKE_CURRENT_SOURCE_DIR}/include"
	"${MATH_INCLUDE_DIR}"
	"${ObjLoader_SOURCE_DIR}/include"
) 
 
file(GLOB math_header include/[^.]*.h include/[^.]*.hpp)
source_group("include" FILES ${math_header})

file(GLOB math_sources src/[^.]*.cpp)
source_group("source" FILES ${math_sources})

set(src ${math_header} ${math_sources})

add_library(${PROJECT_NAME} STATIC ${src} ) 
target_link_libraries(${PROJECT_NAME} ${MATH_LIBRARY})
target_link_libraries(${PROJECT_NAME} ObjLoader) 